]> dgit.raspbian.org Git - gnome-shell.git/commit
gdm: Fail and restart verification on conversation stopped for all services
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Mon, 8 Feb 2021 17:57:06 +0000 (18:57 +0100)
committerRay Strode <halfline@gmail.com>
Mon, 15 Feb 2021 16:58:50 +0000 (16:58 +0000)
commit7a2e629bd0e6abcb63ab691be943e56b7df004ac
treee5a9e72c3ed7c87d762ea76c37e0e660d177d23a
parented1ace1d99de2956105ed52657f8a9946b451704
gdm: Fail and restart verification on conversation stopped for all services

Currently when the foreground service conversation stops we increase the
verification failed count and try to start it again, while if a
background service has been stopped we just ignore it.

This is causing a various number of issues, for example in the case of
the fingerprint authentication service, it is normally configured to die
after a timeout, and we end up never restarting it (while the UI still
keeps showing to the user the message about swipe/touch the device).

So, in such case let's just consider it a "soft" verification failure
that doesn't increase the failures count but will cause us to reset the
UI and try to restart the authentication (and so the affected service).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1652>
js/gdm/util.js